package com.ysxsoft.wdg.bean.cart;

import com.ysxsoft.wdg.bean.AddressBean;
import com.ysxsoft.wdg.bean.zy.GoodsBean;

import java.util.ArrayList;
import java.util.List;

public class ShopcartConfirmBean {
    private String uid;
    private String total;
    private String yun;
    private AddressBean address;
    private List<GoodsBean> goods;

    public String getUid() {
        return uid == null ? "" : uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getTotal() {
        return total == null ? "" : total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public String getYun() {
        return yun == null ? "" : yun;
    }

    public void setYun(String yun) {
        this.yun = yun;
    }

    public AddressBean getAddress() {
        return address;
    }

    public void setAddress(AddressBean address) {
        this.address = address;
    }

    public List<GoodsBean> getGoods() {
        if (goods == null) {
            return new ArrayList<>();
        }
        return goods;
    }

    public void setGoods(List<GoodsBean> goods) {
        this.goods = goods;
    }
}
